﻿using System;

namespace Phorest.Voucher.Models
{
    /// <summary>
    /// A Voucher Request - Parameters for creating a new voucher via the Phorest API
    /// </summary>
    public class VoucherRequest
    {
        // ---------------------------------------------------------------------------------------------

        /// <summary>
        /// The date the Voucher was issued
        /// </summary>
        public DateTime IssueDate { get; set; }
        
        // ---------------------------------------------------------------------------------------------
        
        /// <summary>
        /// The date the voucher will expire
        /// </summary>
        public DateTime ExpiryDate { get; set; }

        // ---------------------------------------------------------------------------------------------
        
        /// <summary>
        /// The Opening Balance for the Voucher
        /// </summary>
        public decimal OriginalBalance { get; set; }

        // ---------------------------------------------------------------------------------------------

        /// <summary>
        /// The brach within your Phorest business
        /// </summary>
        public Branch Branch { get; set; }
    
        // ---------------------------------------------------------------------------------------------
    }
}